package net.zjitc.securitycodepermission.captcha;

import cn.hutool.captcha.generator.CodeGenerator;

import java.util.Random;

/**
 * @author 罗翼侨
 * @date 2025/3/5 15:22
 */
public class MyCodeGenerator implements CodeGenerator {
    @Override
    public String generate() {
        int code = 1000 + new Random().nextInt(9000);
        return String.valueOf(code);
    }

    @Override
    public boolean verify(String s, String s1) {
        return false;
    }
}
